/* @(#)GSOrderSubmitForNonFlatVO.java   
 *
 * Project: GS
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   Jenny Li    2006-3-6     新增
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.vo;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

/**
 * 网下订单提交form
 */
public class GSOrderSubmitForNonFlatVO implements GSBaseBean {

    public String orderId;
    
    public String orderCreateDateStr;
    
    public String orderCreateDateEnd;
    
    public String providerId;
    
    public String manfName;
    
    public double manufUnitPrice;
    
    public double orderCount;
    
    public String deliverGoodsDate;
    
    public String deliverGoodsTime;
    
    public String orderDeptName;
    
    public String orderDeptId;
    
    public String deliverGoodsAddr;
    
    public String orderContactName;
    
    public String orderContactPhone;
    
    public String deliverMode;
    
    public String balanceMode;
    
    public String orderDetailId;
    
    public String providerName;
    
    public String quantUnit;
    
    public String orderDetailStatus;
    
    public String concentricityId;
    
    public String manufInfo;
    
    public String manufType1;
    
    public String manufType2;
    
    public String manufType3;
    
    public String drawingpiececode;
    
    public double goodsUnitprice;
    public String manufSpec;
    public String manufType;
    public String manufBrand;
    public String isTradeFlatManuf;
    public String appenderProperty;
    public String isTradFlatProvider;
    
    public String mode;
    public String manufactureId;    //产品编码
    public String chk;
    public Object process(ResultSet aResultSet) throws SQLException {
        GSOrderSubmitForNonFlatVO tOrderSubmitVO = new GSOrderSubmitForNonFlatVO();
        tOrderSubmitVO.orderDetailId = aResultSet.getString("P1").trim();
        tOrderSubmitVO.concentricityId = aResultSet.getString("P2").trim();
        tOrderSubmitVO.manfName = aResultSet.getString("P3").trim();
        tOrderSubmitVO.isTradeFlatManuf = aResultSet.getString("P4") ;
        tOrderSubmitVO.manufSpec = aResultSet.getString("P5") == null ? "" : aResultSet.getString("P5");
        tOrderSubmitVO.manufType = aResultSet.getString("P6") == null ? "" : aResultSet.getString("P6");
        tOrderSubmitVO.manufBrand = aResultSet.getString("P7") == null ? "" : aResultSet.getString("P7");
        tOrderSubmitVO.orderCount = aResultSet.getDouble("P8");
        tOrderSubmitVO.quantUnit = aResultSet.getString("P9") == null ? "" : aResultSet.getString("P9");
        tOrderSubmitVO.providerName = aResultSet.getString("P10").trim();
        tOrderSubmitVO.orderDeptName = aResultSet.getString("P11");
        tOrderSubmitVO.goodsUnitprice = aResultSet.getDouble("P12");
        tOrderSubmitVO.deliverGoodsDate = aResultSet.getString("P13") == null ? "" : aResultSet.getString("P13");
        tOrderSubmitVO.deliverGoodsTime = aResultSet.getString("P14") == null ? "" : aResultSet.getString("P14");
        tOrderSubmitVO.orderId = aResultSet.getString("P15");
        tOrderSubmitVO.providerId = aResultSet.getString("P16");
        tOrderSubmitVO.orderDetailStatus = aResultSet.getString("P17").trim();
        tOrderSubmitVO.appenderProperty = aResultSet.getString("P18") == null? "":aResultSet.getString("P18").trim();
        tOrderSubmitVO.mode=aResultSet.getString("P19")== null? "":aResultSet.getString("P19").trim();
        tOrderSubmitVO.manufactureId = aResultSet.getString("P20");  
        tOrderSubmitVO.isTradFlatProvider = aResultSet.getString("P21");
        return tOrderSubmitVO;
    }

}
